package com.wap.framework.service;

import java.util.List;

import com.wap.framework.dao.PVCounterDAO;
import com.wap.framework.model.PVCounter;

public class PVCounterServiceImpl implements PVCounterService {

	private PVCounterDAO pvcounterDAO;

	public void setPvcounterDAO(PVCounterDAO pvcDAO) {
		this.pvcounterDAO = pvcDAO;
	}

	public List<PVCounter> listPVByDate(String dateStr) {
		return this.pvcounterDAO.listPVByDate(dateStr);
	}

	public List<PVCounter> listADClikeByDate(String dateStr) {
		return this.pvcounterDAO.listADClikeByDate(dateStr);
	}

	public PVCounter getPVCounterById(int id) {
		return this.pvcounterDAO.getPVcounterById(id);
	}
}
